package com.yzf.aspect.service;

import com.yzf.aspect.bo.SysLogBO;
import lombok.extern.slf4j.Slf4j;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;

/**
 *
 * @author wangzhen
 * @since 2020-03-21
 */
@Slf4j
@Service
public class SysLogService {
    private static final Logger logger = LoggerFactory.getLogger(SysLogService.class);

    public boolean save(SysLogBO sysLogBO){
        logger.info("创建时间："+sysLogBO.getCreateDate()+"  调用方法名："+sysLogBO.getMethodName()+"  执行时间："+sysLogBO.getExeuTime()+" 参数："+sysLogBO.getParams());
        return true;
    }
}
